package records

import (
	"github.com/golib/mysql"
)

const RecordNameCmsCourseContent = "cms_course_content"

func init() {
	var r = &CmsCourseContent{}
	mysql.RegisterRecord(r.Name(), r)
}

type CmsCourseContent struct {
	CcId       int    `json:"ccId" form:"ccId" column:"cc_id" primary:"true" modify:"false"`
	CourseId   int    `form:"courseId" column:"course_id" modify:"true" json:"courseId"`
	Type       int    `json:"type" form:"type" column:"type" modify:"true"`
	Content    string `modify:"true" json:"content" form:"content" column:"content"`
	CreateTime string `json:"createTime" form:"createTime" column:"create_time" modify:"false"`
	UpdateTime string `form:"updateTime" column:"update_time" modify:"false" json:"updateTime"`
}

func (r *CmsCourseContent) Name() string {
	return RecordNameCmsCourseContent
}
